﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;

namespace SDT.CrawlSystem.MediaSrv
{
    public class DataBuffer
    {
        public const int BufferSize = 4096;
        public byte[] byteBuffer;
        public int bytesRead;
        public FileStream saveFile;
        public bool done;

        /// <summary>
        /// Initialize the DataBuffer object by allocating the byte array.
        /// </summary>
        public DataBuffer()
        {
            byteBuffer = new byte[BufferSize];
            done = false;
        }
    }



}
